package com.jumi.microservice.domain;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * - - - - - - - - - - - - - - -
 * 清除库存dto
 * @author liuz
 * @date 2020/8/13 14:02
 * ToDoSomeThing
 * - - - - - - - - - - - - - - -
 */
public class ClearSkuMaterialDTO implements Serializable {

    private static final long serialVersionUID = -8994395005482075731L;

    @ApiModelProperty(value = "商品sku主键id")
    private List<Long> skuIds;

    @ApiModelProperty(value = "操作用户")
    private String userName;

    @ApiModelProperty(value = "商品物料对应关系")
    private List<GoodsMaterialRelationDTO> relations;

    public ClearSkuMaterialDTO() {
    }

    public ClearSkuMaterialDTO(List<Long> skuIds, List<GoodsMaterialRelationDTO> relations) {
        this.skuIds = skuIds;
        this.relations = relations;
    }

    public List<Long> getSkuIds() {
        return skuIds;
    }

    public void setSkuIds(List<Long> skuIds) {
        this.skuIds = skuIds;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public List<GoodsMaterialRelationDTO> getRelations() {
        return relations;
    }

    public void setRelations(List<GoodsMaterialRelationDTO> relations) {
        this.relations = relations;
    }
}
